package utils;

import java.io.File;
import java.io.FileOutputStream;
import java.io.OutputStream;
import java.util.UUID;

import org.junit.jupiter.api.Test;

public class FileInput {

    @Test
    public void fileInputTest() throws Exception {

        File file = new File("file.txt");

        OutputStream outputStream = new FileOutputStream(file);

        for (int i = 0; i < 100; i++) {
            String uuid = UUID.randomUUID().toString();
            outputStream.write(uuid.getBytes());
            outputStream.write("\n".getBytes());
        }

        outputStream.close();

    }

}
